import { defineStore } from 'pinia';


export const useUserStore = defineStore('useUserStore', {
	state: () => {
		return {
			value: null,
		};
	},
	actions: {
		setData(value) {
			this.value = value;
		},
		// 将state 重置为初始值
		claerData() {
			this.$reset();
		},
	},
});
